FROM openjdk:8-jre
ADD ./*.jar /app.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone && touch /app.jar
EXPOSE 8081
ENTRYPOINT ["java", "-jar","/app.jar"]